#ifndef MONETARYVALUEDCIRCULARMETALOBJECTDEVICECONTROLLER_H
#define MONETARYVALUEDCIRCULARMETALOBJECTDEVICECONTROLLER_H
#include "IMoneyHAL.h"
#include "EventAggregator.h"
class MonetaryValuedCircularMetalObjectDeviceController 
{
    public:
        MonetaryValuedCircularMetalObjectDeviceController(IMoneyHAL *HAL);
        void giveBack();
		void giveBackRest(int amount);
		unsigned int getAmountEntered();
        void cents10Entered();
        void cents50Entered();
        void cents200Entered();
		void onClear();
    protected:
    private:
        IMoneyHAL *HAL;
        int moneyRequested;
        int moneyEntered;
        int amtOf10sEntered, amtOf50sEntered, amtOf200sEntered;
		//EventHandler *cents10EnteredHandler;
		//EventHandler *cents50EnteredHandler;
		//EventHandler *cents200EnteredHandler;
};

#endif // MONETARYVALUEDCIRCULARMETALOBJECTDEVICECONTROLLER_H
